<template>
  <div class="borderBox">
    <el-row>
      <el-col :span="18" :offset="3">
        <el-table :data="datas" style="width: 100%">
          <el-table-column type="index" width="50"></el-table-column>
          <el-table-column prop="name" label="属性名称"></el-table-column>
          <el-table-column prop="desc" label="描述"></el-table-column>
          <el-table-column prop="type" label="类型"></el-table-column>
          <el-table-column prop="remark" label="备注"></el-table-column>
        </el-table>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-1</div>
          <dve-border-box-1 style="height:250px"></dve-border-box-1>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-2</div>
          <dve-border-box-2 style="height:250px"></dve-border-box-2>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-3</div>
          <dve-border-box-3 style="height:250px"></dve-border-box-3>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-4</div>
          <dve-border-box-4 style="height:250px"></dve-border-box-4>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-4(reverse)</div>
          <dve-border-box-4 style="height:250px" is-reverse="true"></dve-border-box-4>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-5</div>
          <dve-border-box-5 style="height:250px"></dve-border-box-5>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-5(reverse)</div>
          <dve-border-box-5 style="height:250px" is-reverse="true"></dve-border-box-5>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-6</div>
          <dve-border-box-6 style="height:250px"></dve-border-box-6>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-7</div>
          <dve-border-box-7 style="height:250px"></dve-border-box-7>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-8</div>
          <dve-border-box-8 style="height:250px"></dve-border-box-8>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-9</div>
          <dve-border-box-9 style="height:250px"></dve-border-box-9>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-10</div>
          <dve-border-box-10 style="height:250px"></dve-border-box-10>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-11</div>
          <dve-border-box-11 style="height:250px" title="测试标题"></dve-border-box-11>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-12</div>
          <dve-border-box-12 style="height:250px"></dve-border-box-12>
        </el-card>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="18" :offset="3">
        <el-card class="box-card">
          <div slot="header" class="card-header">dve-border-box-13</div>
          <dve-border-box-13 style="height:250px"></dve-border-box-13>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
      datas: [
        {
          name: "color1",
          desc: "颜色1",
          type: "String",
          remark: ""
        },
        {
          name: "color2",
          desc: "颜色2",
          type: "String",
          remark: ""
        },
        {
          name: "background-color",
          desc: "背景色",
          type: "String",
          remark: ""
        },
        {
          name: "is-reverse",
          desc: "反转",
          type: "String(true|false)",
          remark: "风格4、5有效"
        },
        {
          name: "title",
          desc: "标题",
          type: "String",
          remark: "风格11有效"
        },
        {
          name: "title-width",
          desc: "标题宽度",
          type: "Number",
          remark: "风格11有效"
        },
        {
          name: "title-color",
          desc: "标题字体颜色",
          type: "String",
          remark: "风格11有效"
        }
      ]
    };
  }
};
</script>

<style >
.borderBox {
  height: 100%;
}
.box-card {
  background-color: #333;
}
.el-card__body {
  background-color: #333;
}
.el-col {
  height: 100%;
}
.card-header {
  color: #fff;
  text-align: left;
}
.el-card__header {
  border-bottom: 1px solid #444 !important;
  background-color: #333 !important;
}
</style>